package org.one.afternoon.service;

import org.one.afternoon.domain.Example;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ExampleService {
    Example addOne(Example example);
    Example updateOne(Example example);
    List<Example> findAll();
    void deleteOne(Integer index);
    List<Example> findOne(Example example);
}
